package com.i72.penetrate.rpc;

import com.i72.governance.service.bean.ServiceInfo;
import com.i72.governance.service.bean.ServiceNode;
import org.springframework.beans.factory.BeanFactory;

public interface RPCTarget {

    /*
    //服务选择
    ServiceInfo selectService(String targetService);



    //序列化
    Object serialize(String value);

    //远程调用
    Object invoke(Object data);*/

    //初始化代理
    void initProxy(BeanFactory factory,String...packages);
}
